import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.junit.Test;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Lest {

    @Test
    public void test() {
        Date date = new Date();
        System.out.println(date);
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String time = sdf.format(date);
        System.out.println(time);
    }
}
